package cn.gmcx.lazy.izze.service.impl;

import cn.gmcx.lazy.izze.pojo.UserTab;
import cn.gmcx.lazy.izze.mapper.UserTabMapper;
import cn.gmcx.lazy.izze.service.IUserTabService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户菜单栏及子菜单栏 服务实现类
 * </p>
 *
 * @author GMCX
 * @since 2024-06-22
 */
@Service
public class UserTabServiceImpl extends ServiceImpl<UserTabMapper, UserTab> implements IUserTabService {
    @Autowired
    private UserTabMapper userTabMapper;
    @Override
    public List<UserTab> getUserTab() {
        return userTabMapper.getUserTab();
    }

    @Override
    public List<UserTab> getSubTabUser(String id) {
        return userTabMapper.getSubTabUser(id);
    }
}
